package com.share.user;

import com.share.common.security.annotation.EnableCustomConfig;
import com.share.common.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableRyFeignClients
@EnableCustomConfig //集中启用一系列与安全模块相关的通用配置。它通过组合多个其他注解的功能，简化了配置类的编写
public class ShareUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShareUserApplication.class,args);
        System.out.println("用户模块启动成功");
    }
}
